import {defineStore} from 'pinia'
import {ref} from 'vue'

export const PurchaseOrdersStore = defineStore(
    'purchaseOrders',
    () => {

        const purchaseOrders = ref([])

        const setPurchaseOrders = (c) => {
            purchaseOrders.value = c
        }

        return {
            purchaseOrders,
            setPurchaseOrders
        }
    },
    {
        persist: true
    }
)